package com.wiringweb.annotations;

import com.wiringweb.http.HttpMethod;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface UrlBinding {
    /**
     * regular expression that defines url
     */
    String value();

    HttpMethod httpMethod() default HttpMethod.GET;
}
